@extends('layouts.template')

@section('title', '个人中心')

@section('header')
@endsection

@section('content')
    <script src="{{asset('dist/master/changeServiceExtra.js')}}"></script>
    <script>
        var detail = {!! $detail !!};
        var extra_finish_in = {!! json_encode($extra_finish_in) !!};
        var extra_nothing_fee = {!! json_encode($extra_nothing_fee) !!};
        var extra_repair_free = {!! json_encode($extra_repair_free) !!};
        var extra_floor_free = {!! json_encode($extra_floor_free) !!};
        var extra_carry_fee = {!! json_encode($extra_carry_fee) !!};
{{--        var extra_again_fee = {!! json_encode($extra_again_fee) !!};--}}
        var extra_far_fee = {!! json_encode($extra_far_fee) !!};
    </script>
    <div class="ziliao">
        <form action="" method="post" id="form">
            {{csrf_field()}}
            <div class="ziliao_b mar03"><p>温馨提醒：请选择您可以提供的附加服务，这将有助于提升下单用户
                    雇佣您的几率，从而增加接单量！</p>
            </div>
            <div class="ziliao_c ">
                <h2><i>承诺: </i></h2>
                <ul class="ziliao_d">
                    <li class="overflow_h"><em class="text011">1.货到后</em>
                        <select name="extra_finish_in">
                            <option value="">请选择</option>
                            <option v-for="(value,key) in extra_finish_in" :value="key">@{{ value }}</option>
                        </select>
                        <em class="text011">小时内完成服务 </em>
                    </li>
                    <li class="overflow_h"><em class="text011">2.空跑费 </em>
                        <select name="extra_nothing_fee">
                            <option value="">请选择</option>
                            <option v-for="(value,key) in extra_nothing_fee" :value="key">@{{ value }}</option>
                        </select>
                        <em class="text011">元/每次 </em>
                    </li>
                    <li class="overflow_h"><em class="text011">3.服务后</em>
                        <select name="extra_repair_free">
                            <option value="">请选择</option>
                            <option v-for="(value,key) in extra_repair_free" :value="key">@{{ value }}</option>
                        </select>
                        <em class="text011">个月内免费保修</em>
                    </li>
                    <li class="overflow_h" ><em class="text011">4.步梯在</em>
                        <select name="extra_floor_free">
                            <option value="">请选择</option>
                            <option v-for="(value,key) in extra_floor_free" :value="key">@{{ value }}</option>
                        </select>
                        <em class="text011">楼及以下免费搬楼  </em>
                    </li>
                    <li class="overflow_h"><em class="text011">5.搬楼费</em>
                        <select name="extra_carry_fee">
                            <option value="">请选择</option>
                            <option v-for="(value,key) in extra_carry_fee" :value="key">@{{ value }}</option>
                        </select>
                        <em class="text011">元/每件(25公斤以上)  </em>
                    </li>
                    {{--<li class="overflow_h"><em class="text011">6.二次上门服务</em>--}}
                        {{--<select name="extra_again_fee">--}}
                            {{--<option value="">请选择</option>--}}
                            {{--<option v-for="(value,key) in extra_again_fee" :value="key">@{{ value }}</option>--}}
                        {{--</select>--}}
                        {{--<em class="text011">元起</em>--}}
                    {{--</li>--}}
                    <li class="overflow_h"><em class="text011">6.无物流地址提货</em>
                        <select name="extra_far_fee">
                            <option value="">请选择</option>
                            <option v-for="(value,key) in extra_far_fee" :value="key">@{{ value }}</option>
                        </select>
                        <em class="text011">元/公里加收(30公里以外)</em>
                    </li>
                </ul>
            </div>

            <div class="ziliao_c pas01 mar06 overflow_h">
                <label><span class="mar05">
                  <input type="checkbox" name="extra_tmall_examine" value="1">
                    </span><i>提供喵师傅核销</i></label>
            </div>
            <div class="ziliao_c pas01 mar06 overflow_h">
                <label><span class="mar05">
                  <input type="checkbox" name="extra_storage" value="1">
                    </span><i>提供货品仓储服务</i></label>
            </div>
            <div class="ziliao_c pas01 overflow_h">
                <label><span class="mar05">
                  <input type="checkbox" name="extra_move_free" value="1">
                    </span><i>提供免费平移服务</i></label>
            </div>

            <button class="but07" type="submit">保存</button>
        </form>
    </div>
@endsection